package com.xsomnus.open.db.shardingjdbc.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author @xsomnus666_xiawenye★
 * @since 2019/5/5 0005 10:26
 * 当你发现自己的才华撑不起野心时，就请安静下来学习吧
 */
@Data
@Accessors(chain = true)
@TableName("t_order")
@EqualsAndHashCode(callSuper = true)
public class Order extends Model<Order> {
    @TableId(value = "id")
    private Long id;
    private Long userId;
    private String status;
}
